<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the MediaItemSchema constant from the media library, for the Dart programming language.">
  <title>MediaItemSchema constant - media library - Dart API</title>


  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" rel="stylesheet">
  
  <link rel="stylesheet" href="../static-assets/github.css?v1">
  <link rel="stylesheet" href="../static-assets/styles.css?v1">
  <link rel="icon" href="../static-assets/favicon.png?v1">

  
</head>


<body data-base-href="../" data-using-base-href="false" class="light-theme">

<div id="overlay-under-drawer"></div>

<header id="title">
  <span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../index.html">yuuna</a></li>
    <li><a href="../media/media-library.html">media</a></li>
    <li class="self-crumb">MediaItemSchema constant</li>
  </ol>
  <div class="self-name">MediaItemSchema</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
  <div class="toggle" id="theme-button">
    <label for="theme">
      <input type="checkbox" id="theme" value="light-theme">
      <span id="dark-theme-button" class="material-symbols-outlined">
        brightness_4
      </span>
      <span id="light-theme-button" class="material-symbols-outlined">
        brightness_5
      </span>
    </label>
  </div>
</header>
<main>

  <div id="dartdoc-main-content" class="main-content">
      <div>
<h1><span class="kind-top-level-property">MediaItemSchema</span> top-level constant 
 
</h1></div>

        <section class="multi-line-signature">
          
          <a href="https://pub.dev/documentation/isar/3.1.0+1/isar/CollectionSchema-class.html">CollectionSchema</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../media/MediaItem-class.html">MediaItem</a></span>&gt;</span>
          const <span class="name ">MediaItemSchema</span>
          

        </section>
        

        
<section class="summary source-code" id="source">
  <h2><span>Implementation</span></h2>
  <pre class="language-dart"><code class="language-dart">const MediaItemSchema = CollectionSchema(
  name: r&#39;MediaItem&#39;,
  id: 3893864289923902342,
  properties: {
    r&#39;audioUrl&#39;: PropertySchema(
      id: 0,
      name: r&#39;audioUrl&#39;,
      type: IsarType.string,
    ),
    r&#39;author&#39;: PropertySchema(
      id: 1,
      name: r&#39;author&#39;,
      type: IsarType.string,
    ),
    r&#39;authorIdentifier&#39;: PropertySchema(
      id: 2,
      name: r&#39;authorIdentifier&#39;,
      type: IsarType.string,
    ),
    r&#39;base64Image&#39;: PropertySchema(
      id: 3,
      name: r&#39;base64Image&#39;,
      type: IsarType.string,
    ),
    r&#39;canDelete&#39;: PropertySchema(
      id: 4,
      name: r&#39;canDelete&#39;,
      type: IsarType.bool,
    ),
    r&#39;canEdit&#39;: PropertySchema(
      id: 5,
      name: r&#39;canEdit&#39;,
      type: IsarType.bool,
    ),
    r&#39;duration&#39;: PropertySchema(
      id: 6,
      name: r&#39;duration&#39;,
      type: IsarType.long,
    ),
    r&#39;extra&#39;: PropertySchema(
      id: 7,
      name: r&#39;extra&#39;,
      type: IsarType.string,
    ),
    r&#39;extraUrl&#39;: PropertySchema(
      id: 8,
      name: r&#39;extraUrl&#39;,
      type: IsarType.string,
    ),
    r&#39;hashCode&#39;: PropertySchema(
      id: 9,
      name: r&#39;hashCode&#39;,
      type: IsarType.long,
    ),
    r&#39;imageUrl&#39;: PropertySchema(
      id: 10,
      name: r&#39;imageUrl&#39;,
      type: IsarType.string,
    ),
    r&#39;mediaIdentifier&#39;: PropertySchema(
      id: 11,
      name: r&#39;mediaIdentifier&#39;,
      type: IsarType.string,
    ),
    r&#39;mediaSourceIdentifier&#39;: PropertySchema(
      id: 12,
      name: r&#39;mediaSourceIdentifier&#39;,
      type: IsarType.string,
    ),
    r&#39;mediaTypeIdentifier&#39;: PropertySchema(
      id: 13,
      name: r&#39;mediaTypeIdentifier&#39;,
      type: IsarType.string,
    ),
    r&#39;position&#39;: PropertySchema(
      id: 14,
      name: r&#39;position&#39;,
      type: IsarType.long,
    ),
    r&#39;sourceMetadata&#39;: PropertySchema(
      id: 15,
      name: r&#39;sourceMetadata&#39;,
      type: IsarType.string,
    ),
    r&#39;title&#39;: PropertySchema(
      id: 16,
      name: r&#39;title&#39;,
      type: IsarType.string,
    ),
    r&#39;uniqueKey&#39;: PropertySchema(
      id: 17,
      name: r&#39;uniqueKey&#39;,
      type: IsarType.string,
    )
  },
  estimateSize: _mediaItemEstimateSize,
  serialize: _mediaItemSerialize,
  deserialize: _mediaItemDeserialize,
  deserializeProp: _mediaItemDeserializeProp,
  idName: r&#39;id&#39;,
  indexes: {
    r&#39;mediaIdentifier&#39;: IndexSchema(
      id: -8949035234415011646,
      name: r&#39;mediaIdentifier&#39;,
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r&#39;mediaIdentifier&#39;,
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r&#39;mediaTypeIdentifier&#39;: IndexSchema(
      id: 8109145933884384261,
      name: r&#39;mediaTypeIdentifier&#39;,
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r&#39;mediaTypeIdentifier&#39;,
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r&#39;mediaSourceIdentifier&#39;: IndexSchema(
      id: -3325065338814951047,
      name: r&#39;mediaSourceIdentifier&#39;,
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r&#39;mediaSourceIdentifier&#39;,
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r&#39;uniqueKey&#39;: IndexSchema(
      id: -866995956150369819,
      name: r&#39;uniqueKey&#39;,
      unique: true,
      replace: true,
      properties: [
        IndexPropertySchema(
          name: r&#39;uniqueKey&#39;,
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    )
  },
  links: {},
  embeddedSchemas: {},
  getId: _mediaItemGetId,
  getLinks: _mediaItemGetLinks,
  attach: _mediaItemAttach,
  version: &#39;3.1.0+1&#39;,
);</code></pre>
</section>



  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="search">
    <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
  <li><a href="../index.html">yuuna</a></li>
  <li><a href="../media/media-library.html">media</a></li>
  <li class="self-crumb">MediaItemSchema constant</li>
</ol>


    <h5>media library</h5>
    <ol>
      <li class="section-title"><a href="../media/media-library.html#classes">Classes</a></li>
        <li><a href="../media/ComputeManifestParams-class.html">ComputeManifestParams</a></li>
        <li><a href="../media/DictionaryMediaType-class.html">DictionaryMediaType</a></li>
        <li><a href="../media/MediaItem-class.html">MediaItem</a></li>
        <li><a href="../media/MediaSource-class.html">MediaSource</a></li>
        <li><a href="../media/MediaType-class.html">MediaType</a></li>
        <li><a href="../media/PlayerLocalMediaSource-class.html">PlayerLocalMediaSource</a></li>
        <li><a href="../media/PlayerMediaSource-class.html">PlayerMediaSource</a></li>
        <li><a href="../media/PlayerMediaType-class.html">PlayerMediaType</a></li>
        <li><a href="../media/PlayerNetworkStreamSource-class.html">PlayerNetworkStreamSource</a></li>
        <li><a href="../media/PlayerYoutubeSource-class.html">PlayerYoutubeSource</a></li>
        <li><a href="../media/ReaderBrowserSource-class.html">ReaderBrowserSource</a></li>
        <li><a href="../media/ReaderChatgptSource-class.html">ReaderChatgptSource</a></li>
        <li><a href="../media/ReaderClipboardSource-class.html">ReaderClipboardSource</a></li>
        <li><a href="../media/ReaderLyricsSource-class.html">ReaderLyricsSource</a></li>
        <li><a href="../media/ReaderMediaSource-class.html">ReaderMediaSource</a></li>
        <li><a href="../media/ReaderMediaType-class.html">ReaderMediaType</a></li>
        <li><a href="../media/ReaderMokuroSource-class.html">ReaderMokuroSource</a></li>
        <li><a href="../media/ReaderTtuSource-class.html">ReaderTtuSource</a></li>
        <li><a href="../media/ReaderWebsocketSource-class.html">ReaderWebsocketSource</a></li>
        <li><a href="../media/VideoManifest-class.html">VideoManifest</a></li>
        <li><a href="../media/ViewerCameraSource-class.html">ViewerCameraSource</a></li>
        <li><a href="../media/ViewerMediaSource-class.html">ViewerMediaSource</a></li>
        <li><a href="../media/ViewerMediaType-class.html">ViewerMediaType</a></li>

      <li class="section-title"><a href="../media/media-library.html#extensions">Extensions</a></li>
        <li><a href="../media/GetMediaItemCollection.html">GetMediaItemCollection</a></li>
        <li><a href="../media/MediaItemByIndex.html">MediaItemByIndex</a></li>
        <li><a href="../media/MediaItemQueryFilter.html">MediaItemQueryFilter</a></li>
        <li><a href="../media/MediaItemQueryLinks.html">MediaItemQueryLinks</a></li>
        <li><a href="../media/MediaItemQueryObject.html">MediaItemQueryObject</a></li>
        <li><a href="../media/MediaItemQueryProperty.html">MediaItemQueryProperty</a></li>
        <li><a href="../media/MediaItemQuerySortBy.html">MediaItemQuerySortBy</a></li>
        <li><a href="../media/MediaItemQuerySortThenBy.html">MediaItemQuerySortThenBy</a></li>
        <li><a href="../media/MediaItemQueryWhere.html">MediaItemQueryWhere</a></li>
        <li><a href="../media/MediaItemQueryWhereDistinct.html">MediaItemQueryWhereDistinct</a></li>
        <li><a href="../media/MediaItemQueryWhereSort.html">MediaItemQueryWhereSort</a></li>


      <li class="section-title"><a href="../media/media-library.html#constants">Constants</a></li>
        <li><a href="../media/MediaItemSchema-constant.html">MediaItemSchema</a></li>

      <li class="section-title"><a href="../media/media-library.html#properties">Properties</a></li>
        <li><a href="../media/channelProvider.html">channelProvider</a></li>
        <li><a href="../media/clipboardProvider.html">clipboardProvider</a></li>
        <li><a href="../media/commentsProvider.html">commentsProvider</a></li>
        <li><a href="../media/lyricsPermissionsProvider.html">lyricsPermissionsProvider</a></li>
        <li><a href="../media/lyricsProvider.html">lyricsProvider</a></li>
        <li><a href="../media/lyricsStreamProvider.html">lyricsStreamProvider</a></li>
        <li><a href="../media/repliesProvider.html">repliesProvider</a></li>
        <li><a href="../media/ttuBooksProvider.html">ttuBooksProvider</a></li>
        <li><a href="../media/ttuServerProvider.html">ttuServerProvider</a></li>
        <li><a href="../media/vttRegex.html">vttRegex</a></li>

      <li class="section-title"><a href="../media/media-library.html#functions">Functions</a></li>
        <li><a href="../media/computeCaptionsManifest.html">computeCaptionsManifest</a></li>
        <li><a href="../media/computeChannel.html">computeChannel</a></li>
        <li><a href="../media/computeCommentsList.html">computeCommentsList</a></li>
        <li><a href="../media/computeManifests.html">computeManifests</a></li>



</ol>

  </div><!--/.sidebar-offcanvas-left-->

  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    yuuna
      2.8.0+93
  </span>

  
</footer>



<script src="../static-assets/highlight.pack.js?v1"></script>
<script src="../static-assets/docs.dart.js"></script>



</body>

</html>

